package launch

import (
	"tesou.io/platform/poem-parent/poem-spider/module/gushiwen"
	"tesou.io/platform/poem-parent/poem-spider/module/gushiwen/proc"
)

func Before_huxiu(){
	//抓取前清空当前比较表
	//opsService := new(mysql.DBOpsService)
	//指定需要清空的数据表
	//opsService.TruncateTable([]string{"t_poem","t_poem_tag","t_phrase"})
}

func Spider_huxiu() {
	processer := proc.GetHuXiuProcesser()
	processer.SpiderUrl = gushiwen.HUXIU_URL
	processer.Startup()
}

